package com.chuangke.school.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.chuangke.common.annotation.Entity;
import com.chuangke.framework.model.BillItemModel;

import java.math.BigDecimal;
import java.util.List;

@Entity
public class Teacher extends BillItemModel {

    private String id;
    private String name;
    private String schoolId;
    /**
     * 长文本
     */
    private String remarks;
    /**
     * 部门：帮助
     */
    private String deptId ;
    /**
     * 入职日期
     */
    private String date ;
    /**
     * 性别：下拉掩码
     */
    private String sex;

    private BigDecimal wages;

    @Entity(entityClass = Student.class)
    @TableField(exist=false)
    private List<Student> students ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String getRemarks() {
        return remarks;
    }

    @Override
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public BigDecimal getWages() {
        return wages;
    }

    public void setWages(BigDecimal wages) {
        this.wages = wages;
    }
}
